package com.xiaoq.shop.dto;

/**
 * @author xinpeng created on 16/9/21-下午6:35.
 */
public enum PromotionState {


    NONPROMOTION(0),  //非促销,没有促销状态
    GROUPPURCHASING(1),  //团购中
    DISCOUNTING(2),     //限时折扣中
    RECOMMENDING(3);    //店长推荐中

    private int code;

    PromotionState(int code){
        this.code = code;
    }

    public int value(){
        return this.code;
    }
}
